0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇒, 89 ms)
↳2 Prolog
↳3 PrologToPiTRSProof (⇒, 0 ms)
↳4 PiTRS
↳5 DependencyPairsProof (⇔, 0 ms)
↳6 PiDP
↳7 DependencyGraphProof (⇔, 0 ms)
↳8 PiDP
↳9 UsableRulesProof (⇔, 0 ms)
↳10 PiDP
↳11 PiDPToQDPProof (⇒, 3 ms)
↳12 QDP
↳13 QDPSizeChangeProof (⇔, 0 ms)
↳14 YES
selectA_in_aga(T6, .(T6, T7), T7) → selectA_out_aga(T6, .(T6, T7), T7)
selectA_in_aga(T26, .(T13, .(T26, T27)), .(T13, T27)) → selectA_out_aga(T26, .(T13, .(T26, T27)), .(T13, T27))
selectA_in_aga(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41))) → U1_aga(T40, T13, T37, T38, T41, selectA_in_aga(T40, T38, T41))
selectA_in_aga(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79))) → U2_aga(T78, T51, T75, T76, T79, selectA_in_aga(T78, T76, T79))
U2_aga(T78, T51, T75, T76, T79, selectA_out_aga(T78, T76, T79)) → selectA_out_aga(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79)))
U1_aga(T40, T13, T37, T38, T41, selectA_out_aga(T40, T38, T41)) → selectA_out_aga(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41)))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
selectA_in_aga(T6, .(T6, T7), T7) → selectA_out_aga(T6, .(T6, T7), T7)
selectA_in_aga(T26, .(T13, .(T26, T27)), .(T13, T27)) → selectA_out_aga(T26, .(T13, .(T26, T27)), .(T13, T27))
selectA_in_aga(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41))) → U1_aga(T40, T13, T37, T38, T41, selectA_in_aga(T40, T38, T41))
selectA_in_aga(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79))) → U2_aga(T78, T51, T75, T76, T79, selectA_in_aga(T78, T76, T79))
U2_aga(T78, T51, T75, T76, T79, selectA_out_aga(T78, T76, T79)) → selectA_out_aga(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79)))
U1_aga(T40, T13, T37, T38, T41, selectA_out_aga(T40, T38, T41)) → selectA_out_aga(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41)))
SELECTA_IN_AGA(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41))) → U1_AGA(T40, T13, T37, T38, T41, selectA_in_aga(T40, T38, T41))
SELECTA_IN_AGA(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41))) → SELECTA_IN_AGA(T40, T38, T41)
SELECTA_IN_AGA(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79))) → U2_AGA(T78, T51, T75, T76, T79, selectA_in_aga(T78, T76, T79))
selectA_in_aga(T6, .(T6, T7), T7) → selectA_out_aga(T6, .(T6, T7), T7)
selectA_in_aga(T26, .(T13, .(T26, T27)), .(T13, T27)) → selectA_out_aga(T26, .(T13, .(T26, T27)), .(T13, T27))
selectA_in_aga(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41))) → U1_aga(T40, T13, T37, T38, T41, selectA_in_aga(T40, T38, T41))
selectA_in_aga(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79))) → U2_aga(T78, T51, T75, T76, T79, selectA_in_aga(T78, T76, T79))
U2_aga(T78, T51, T75, T76, T79, selectA_out_aga(T78, T76, T79)) → selectA_out_aga(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79)))
U1_aga(T40, T13, T37, T38, T41, selectA_out_aga(T40, T38, T41)) → selectA_out_aga(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41)))
SELECTA_IN_AGA(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41))) → U1_AGA(T40, T13, T37, T38, T41, selectA_in_aga(T40, T38, T41))
SELECTA_IN_AGA(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41))) → SELECTA_IN_AGA(T40, T38, T41)
SELECTA_IN_AGA(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79))) → U2_AGA(T78, T51, T75, T76, T79, selectA_in_aga(T78, T76, T79))
selectA_in_aga(T6, .(T6, T7), T7) → selectA_out_aga(T6, .(T6, T7), T7)
selectA_in_aga(T26, .(T13, .(T26, T27)), .(T13, T27)) → selectA_out_aga(T26, .(T13, .(T26, T27)), .(T13, T27))
selectA_in_aga(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41))) → U1_aga(T40, T13, T37, T38, T41, selectA_in_aga(T40, T38, T41))
selectA_in_aga(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79))) → U2_aga(T78, T51, T75, T76, T79, selectA_in_aga(T78, T76, T79))
U2_aga(T78, T51, T75, T76, T79, selectA_out_aga(T78, T76, T79)) → selectA_out_aga(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79)))
U1_aga(T40, T13, T37, T38, T41, selectA_out_aga(T40, T38, T41)) → selectA_out_aga(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41)))
SELECTA_IN_AGA(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41))) → SELECTA_IN_AGA(T40, T38, T41)
selectA_in_aga(T6, .(T6, T7), T7) → selectA_out_aga(T6, .(T6, T7), T7)
selectA_in_aga(T26, .(T13, .(T26, T27)), .(T13, T27)) → selectA_out_aga(T26, .(T13, .(T26, T27)), .(T13, T27))
selectA_in_aga(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41))) → U1_aga(T40, T13, T37, T38, T41, selectA_in_aga(T40, T38, T41))
selectA_in_aga(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79))) → U2_aga(T78, T51, T75, T76, T79, selectA_in_aga(T78, T76, T79))
U2_aga(T78, T51, T75, T76, T79, selectA_out_aga(T78, T76, T79)) → selectA_out_aga(T78, .(T51, .(T75, T76)), .(T51, .(T75, T79)))
U1_aga(T40, T13, T37, T38, T41, selectA_out_aga(T40, T38, T41)) → selectA_out_aga(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41)))
SELECTA_IN_AGA(T40, .(T13, .(T37, T38)), .(T13, .(T37, T41))) → SELECTA_IN_AGA(T40, T38, T41)
SELECTA_IN_AGA(.(T13, .(T37, T38))) → SELECTA_IN_AGA(T38)
From the DPs we obtained the following set of size-change graphs: